package com.cx.common.core.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 排序条件
 *
 * @date 2023.03.11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "排序条件")
public class OrderBy {

    @ApiModelProperty(value = "排序属性")
    private String property;

    @ApiModelProperty(value = "排序方式")
    private String type;
}
